sum = 1
for i in range(9):
    sum = (sum+1)*2
print(sum)